<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){} %>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 0px;" id="app">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="widget-body">
                    <div class="row" style="padding: 0px 15px 15px 15px;">
                        <span>年级:</span>
                        <span>
                            <select class="form-control" id="gradeId" name="gradeId"
                                    style="width: 150px;display: inline-block;"></select>
                        </span>
                        <span>院系:</span>
                        <span>
                        <input type="text" class="form-control" id="departmentsId" name="departmentsId"
                               placeholder="院系 " readonly="readonly" style="display: inline-block;width: 250px;">
                                            <div id="menuContent" class="menuContent">
                                                <ul id="menuTree" class="ztree"></ul>
                                            </div>
                        
                        </span>
                        <span>专业:</span>
                        <span>
                            <select class="form-control" id="majorId" name="majorId"
                                    style="width: 150px;display: inline-block;"></select>
                        </span>
                        <span style="margin-left: 20px"> <a href="javascript:void(0);" class="btn btn-magenta"
                                                            @click="getAllClassList();">${i18n('system.search')}</a>
										</span>
                    </div>
                    <div class="row">
                        <template>
                            <div v-for="item in classArr">
                                <div class="col-lg-3 col-sm-6 col-xs-12">
                                    <div class="databox databox-xlg databox-halved radius-bordered databox-shadowed databox-vertical"
                                         style="height: 170px">
                                        <div class="databox-top bg-white padding-10">
                                            <div class="col-lg-4 col-sm-4 col-xs-4">
                                                <img src="/gobal/img/kt.png" style="width:75px; height:75px;">
                                            </div>
                                            <div class="col-lg-8 col-sm-8 col-xs-8 text-align-left padding-10">
                                                <span class="databox-header carbon no-margin"
                                                      v-html="item.majorName"></span>
                                                <span class="databox-text lightcarbon no-margin"
                                                      v-html="item.className"></span>
                                            </div>
                                        </div>
                                        <div class="bg-white no-padding" style="height: 70px;">
                                            <div class="databox-row row-12">
                                                <div class="databox-row row-6 no-padding">
                                                    <div class="databox-cell cell-4 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver  no-margin">班级辅导员</span>
                                                        <span class="databox-number lightcarbon no-margin"
                                                              v-html="item.headmasterUserName"></span>
                                                    </div>
                                                    <div class="databox-cell cell-4 no-padding text-align-center bordered-right bordered-platinum">
                                                        <span class="databox-text sonic-silver no-margin">任课教师</span>
                                                        <span class="databox-number lightcarbon no-margin"><a>设置</a></span>
                                                    </div>
                                                    <div class="databox-cell cell-4 no-padding text-align-center">
                                                        <span class="databox-text sonic-silver no-margin">学生</span>
                                                        <span class="databox-number lightcarbon no-margin"><a>添加</a></span>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </template>
                    </div>
                </div>
            </div>
            <div class="col-md-12 col-sm-12 col-xs-12" style="display: none;padding: 0px" id="creatediv">
                <div class="widget">
                    <div class="widget-header bordered-bottom bordered-palegreen">
                        <span class="widget-caption">班级基本信息</span>
                    </div>
                    <div class="widget-body">
                        <form class="form-horizontal form-bordered" id="form">

                            <div class="form-group">
                                <div class="col-sm-offset-1 col-sm-5">
                                    <a id="createbut" href="javascript:void(0);" class="btn btn-primary">${i18n('system.create')}</a>
                                    <a style="display: none;" id="updatabut" href="javascript:void(0);"
                                       class="btn btn-maroon">更&nbsp;&nbsp;改</a>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
<%include("/app/resapi/sysjs.html"){} %>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/gobal/js/page/education/param/param.js"></script>
<script type="text/javascript" src="/gobal/js/page/education/teaching/forteach.js"></script>
</body>
</html>
